package com.yy.bolg.resp.hik;

import java.util.List;

/**
 * 海康监测历史字段实体类
 * @author enmaoFu
 * @date 2024-12-14
 */
public class HikFireCloudHistoryMonitorResp {

    private int total;
    private int pageNo;
    private int totalPage;
    private int pageSize;
    private String flagId;
    private List<HistoryMonitor> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getFlagId() {
        return flagId;
    }

    public void setFlagId(String flagId) {
        this.flagId = flagId;
    }

    public List<HistoryMonitor> getList() {
        return list;
    }

    public void setList(List<HistoryMonitor> list) {
        this.list = list;
    }

    public static class HistoryMonitor {
        /**
         * resourceID : 459034546748518401
         * resourceName : 640_2
         * resourceType : 600001
         * resourceSerial : D61973269
         * type : 1
         * systemType : 500001
         * monitorTime : 2020-04-20T16:39:24.719+08:00
         * companyID : 457900914516828161
         * companyName : 运营公司01666
         * unitID : 457901443074629632
         * unitName : 单位011111
         * areaID : 457901260538519553
         * areaName : 建筑物111
         * data : [{"resourceID":"459034546748518401","resourceType":"600001","resourceSerial":"D61973269","monitorState":"1","type":1,"monitorType":"400017","monitorValue":"null","monitorUnit":"kWh","maxThresholdValue":"null","minThresholdValue":"null","remark":"null"}]
         */

        private String resourceID;
        private String resourceName;
        private String resourceType;
        private String resourceSerial;
        private int type;
        private String systemType;
        private String monitorTime;
        private String companyID;
        private String companyName;
        private String unitID;
        private String unitName;
        private String areaID;
        private String areaName;
        private List<HistoryMonitorData> data;

        public String getResourceID() {
            return resourceID;
        }

        public void setResourceID(String resourceID) {
            this.resourceID = resourceID;
        }

        public String getResourceName() {
            return resourceName;
        }

        public void setResourceName(String resourceName) {
            this.resourceName = resourceName;
        }

        public String getResourceType() {
            return resourceType;
        }

        public void setResourceType(String resourceType) {
            this.resourceType = resourceType;
        }

        public String getResourceSerial() {
            return resourceSerial;
        }

        public void setResourceSerial(String resourceSerial) {
            this.resourceSerial = resourceSerial;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getSystemType() {
            return systemType;
        }

        public void setSystemType(String systemType) {
            this.systemType = systemType;
        }

        public String getMonitorTime() {
            return monitorTime;
        }

        public void setMonitorTime(String monitorTime) {
            this.monitorTime = monitorTime;
        }

        public String getCompanyID() {
            return companyID;
        }

        public void setCompanyID(String companyID) {
            this.companyID = companyID;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public String getUnitID() {
            return unitID;
        }

        public void setUnitID(String unitID) {
            this.unitID = unitID;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public String getAreaID() {
            return areaID;
        }

        public void setAreaID(String areaID) {
            this.areaID = areaID;
        }

        public String getAreaName() {
            return areaName;
        }

        public void setAreaName(String areaName) {
            this.areaName = areaName;
        }

        public List<HistoryMonitorData> getData() {
            return data;
        }

        public void setData(List<HistoryMonitorData> data) {
            this.data = data;
        }

        public static class HistoryMonitorData {
            /**
             * resourceID : 459034546748518401
             * resourceType : 600001
             * resourceSerial : D61973269
             * monitorState : 1
             * type : 1
             * monitorType : 400017
             * monitorValue : null
             * monitorUnit : kWh
             * maxThresholdValue : null
             * minThresholdValue : null
             * remark : null
             */

            private String resourceID;
            private String resourceType;
            private String resourceSerial;
            private String monitorState;
            private int type;
            private String monitorType;
            private String monitorValue;
            private String monitorUnit;
            private String maxThresholdValue;
            private String minThresholdValue;
            private String remark;

            public String getResourceID() {
                return resourceID;
            }

            public void setResourceID(String resourceID) {
                this.resourceID = resourceID;
            }

            public String getResourceType() {
                return resourceType;
            }

            public void setResourceType(String resourceType) {
                this.resourceType = resourceType;
            }

            public String getResourceSerial() {
                return resourceSerial;
            }

            public void setResourceSerial(String resourceSerial) {
                this.resourceSerial = resourceSerial;
            }

            public String getMonitorState() {
                return monitorState;
            }

            public void setMonitorState(String monitorState) {
                this.monitorState = monitorState;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getMonitorType() {
                return monitorType;
            }

            public void setMonitorType(String monitorType) {
                this.monitorType = monitorType;
            }

            public String getMonitorValue() {
                return monitorValue;
            }

            public void setMonitorValue(String monitorValue) {
                this.monitorValue = monitorValue;
            }

            public String getMonitorUnit() {
                return monitorUnit;
            }

            public void setMonitorUnit(String monitorUnit) {
                this.monitorUnit = monitorUnit;
            }

            public String getMaxThresholdValue() {
                return maxThresholdValue;
            }

            public void setMaxThresholdValue(String maxThresholdValue) {
                this.maxThresholdValue = maxThresholdValue;
            }

            public String getMinThresholdValue() {
                return minThresholdValue;
            }

            public void setMinThresholdValue(String minThresholdValue) {
                this.minThresholdValue = minThresholdValue;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }
        }
    }
}
